package com.lmn.bus.rocketmq.event;

import org.springframework.cloud.bus.event.RemoteApplicationEvent;

import java.util.Map;

public class MyRemoteApplicationEvent extends RemoteApplicationEvent {
    private final Map<String, String> values;

    private MyRemoteApplicationEvent() {
        this.values = null;
    }

    public MyRemoteApplicationEvent(Object source, String originService, String destinationService, Map<String, String> values) {
        super(source, originService, destinationService);
        this.values = values;
    }

    public Map<String, String> getValues() {
        return values;
    }
}
